home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / FX286MS.HDR < prev    next >
Text File  |  1994-04-25  |  3KB  |  90 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _FX286MS( nMaster_Select, nTopRow, nTopCol ) --> NIL
  8.  
  9. PARAMETERS:
  10.  
  11. nMaster_Select : Master Select Number (Optional)
  12. nTopRow        : Top Left Corner Row of Menu Box (Optional)
  13. nTopCol        : Top Left Corner Col of Menu Box (Optional)
  14.  
  15. SHORT:
  16.  
  17. Displays and accepts changes to an Epson 286MX/FX print setting box.
  18.  
  19. DESCRIPTION:
  20.  
  21. _FX286MS() operates differently, depending upon the parameters it is passed.
  22.  
  23. If a number is passed in the first parameter (Master Select number), the
  24. number is passed directly on to the printer as an Epson Master Select Print
  25. Code, with no checking of it's value.  In this case, the second and third
  26. parameters are not necessary, and are ignored if passed.
  27.  
  28. Use the Following Table to calculate the number to be used for
  29. nMaster_Select:
  30.  
  31.     Underline     128
  32.     Italic         64
  33.     Double-Width   32
  34.     Double-Strike  16
  35.     Emphasized      8
  36.     Condensed       4
  37.     Proportional    2
  38.     Elite (12 CPI)  1
  39.     Pica  (10 CPI)  0
  40.  
  41. Simply add together the numbers of the options that you want, and pass the
  42. result as the nMaster_Select parameter, omitting remaining parameters (the
  43. box coordinates) and the printer will be set without displaying the
  44. selection box.
  45.  
  46. Optionally, you may skip the first parameter and pass only the second and
  47. third. In this case, a menu is given with the top left corner at the
  48. specified points.  Selections made from this menu are translated into a valid
  49. Master Select number and passed to the printer as an Epson Master Select
  50. Print Code.
  51.  
  52.  
  53. The printer will beep once when exiting the menu to inform you that it
  54. has received the printer setup string.
  55.  
  56. You can also create an include file to hold the Master Select values:
  57.  
  58. #define EP_COND     4
  59. #define EP_UNDER  128
  60. #define EP_PICA     0
  61.  
  62. _FX286(EP_COND)
  63.  
  64. _FX286(EP_COND+EP_UNDER)
  65.  
  66. NOTE:
  67.  
  68. Certain combinations are illegal. Obviously Pica and Elite cannot
  69. be simultaneously selected.  Not so obvious, Emphasized can only be
  70. combined with Pica, NOT Elite or Condensed.  Illegal values are
  71. simply ignored by the printer.
  72.  
  73. EXAMPLE:
  74.  
  75. _FX286()          // gives popup and sets printer from options selected
  76.  
  77. _FX286(144)       // should use value passed and set printer
  78.  
  79. _FX286(128)       // Set printer to UnderLine
  80.  
  81. _FX286(EP_UNDER)  // Set printer to UnderLine using your own #define
  82.  
  83. _FX286(132)       // Set printer to UnderLine Condensed
  84.  
  85. _FX286(4)         // Set printer to Condensed only
  86.  
  87. _FX286(0)         // select 10 CPI
  88.  
  89. ******************************************************************************/
  90.